/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.TX;

import javax.ejb.Remote;

/**
 *
 * @author Lu Xiaodi
 */
@Remote
public interface CustomerAnalysisSBRemote {

    public java.util.List<java.lang.String> getLocalCustomers_Test();

    public java.util.List<java.lang.String> getForeignCustomers_Test();

    public java.util.List<java.lang.String> getCustomerPurchases_Test(java.lang.String customerEmail, java.lang.Long outletId);

    public java.util.List<java.lang.String> getCustomerReservation_Test(java.lang.Long customerId, java.lang.Long outletId);

    public java.util.List<helper.tx.tta.Helper_CustomerLoyalty> getSortedLocalLoyaltyIdx(java.lang.Long outletId);

    public java.util.List<helper.tx.tta.Helper_CustomerLoyalty> getSortedForeignLoyaltyIdx(java.lang.Long outletId);

    public java.util.Set<java.lang.String> getCustEmail();

    public java.util.Set<java.lang.String> getCustEmail2();

    public java.lang.Double calculateGC(java.lang.String stakeholderName, java.lang.Double discountRate, java.lang.Double expPerRes);

    public java.util.List<helper.tx.tta.Helper_CustomerLoyalty> getSortedForeignLoyaltyIdx(java.lang.String stakeholderName);

    public java.util.List<helper.tx.tta.Helper_CustomerLoyalty> getSortedLocalLoyaltyIdx(java.lang.String stakeholderName);

    public java.util.List<helper.tx.tta.Helper_CustomerValue> getSortedForeignCustValue(java.lang.Long outletId, java.lang.Double avgExp);

    public java.util.List<helper.tx.tta.Helper_CustomerValue> getSortedLocalCustValue(java.lang.Long outletId, java.lang.Double avgExp);

    public java.util.List<helper.tx.tta.Helper_CustomerValue> getSortedForeignCustValue(java.lang.String stakeholderName, java.lang.Double avgExp);

    public java.util.List<helper.tx.tta.Helper_CustomerValue> getSortedLocalCustValue(java.lang.String stakeholderName, java.lang.Double avgExp);

}
